package com.triplelink.entity;

import java.util.Date;

import resource.UrisClasses;
import resource.UrisProperties;

import com.triplelink.annotations.ClassType;
import com.triplelink.annotations.DatatypeProperty;
import com.triplelink.annotations.Id;
import com.triplelink.annotations.Property;
import com.triplelink.enums.Datatype;

@ClassType(type = UrisClasses.PERSON)
public class PersonEntity
{
	@Id
	private String id;

	@DatatypeProperty(range = Datatype.STRING)
	@Property(uri = UrisProperties.NAME)
	private String name;
	
	@DatatypeProperty(range = Datatype.DATE_TIME)
	@Property(uri = UrisProperties.BIRTH_DATE)
	private Date birthDate;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getBirthDate() {
		return birthDate;
	}

	public void setBirthDate(Date birthDate) {
		this.birthDate = birthDate;
	}
}